package com.smxy.daydayup.service.serviceImpl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.smxy.daydayup.pojo.College;
import com.smxy.daydayup.mapper.CollegeMapper;
import com.smxy.daydayup.service.CollegeService;
/**
  * @team daydayup
  * @time 2021-12-06 21:45
  */
@Service
public class CollegeServiceImpl implements CollegeService{

    @Resource
    private CollegeMapper collegeMapper;

    @Override
    public int deleteByPrimaryKey(Long collegeId) {
        return collegeMapper.deleteByPrimaryKey(collegeId);
    }

    @Override
    public int insert(College record) {
        return collegeMapper.insert(record);
    }

    @Override
    public int insertSelective(College record) {
        return collegeMapper.insertSelective(record);
    }

    @Override
    public College selectByPrimaryKey(Long collegeId) {
        return collegeMapper.selectByPrimaryKey(collegeId);
    }

    @Override
    public int updateByPrimaryKeySelective(College record) {
        return collegeMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(College record) {
        return collegeMapper.updateByPrimaryKey(record);
    }

}
